<?php
$viewdefs ['Accounts'] = 
array (
  'EditView' => 
  array (
    'templateMeta' => 
    array (
      'form' => 
      array (
        'buttons' => 
        array (
          0 => 'SAVE',
          1 => 'CANCEL',
        ),
      ),
      'maxColumns' => '2',
      'widths' => 
      array (
        0 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
        1 => 
        array (
          'label' => '10',
          'field' => '30',
        ),
      ),
      'includes' => 
      array (
        0 => 
        array (
          'file' => 'modules/Accounts/Account.js',
        ),
        1 => 
        array (
          'file' => 'custom/include/js/jquery.min.js',
        ),
        2=>array('file'=> "custom/modules/Accounts/js/jquery-ui-1.8.13.custom.min.js"),
        3 => 
        array (
          'file' => 'custom/modules/Accounts/js/AccountCheck.js',
        ),
      ),
      'useTabs' => false,
      'syncDetailEditViews' => false,
    ),
    'panels' => 
    array (
      'lbl_account_information' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'socif',
            'label' => 'LBL_SOCIF',
            'type' => 'readonly',
          ),
          1 => 
          array (
            'name' => 'code',
            'type' => 'readonly',
          ),
        ),
        1 => 
        array (
          0 => 
          array (
            'name' => 'name',
            'label' => 'LBL_NAME',
            'displayParams' => 
            array (
              'required' => true,
            ),
          ),
          1 => 
          array (
            'name' => 'phone_office',
            'label' => 'LBL_PHONE_OFFICE',
          ),
        ),
        2 => 
        array (
          0 => 
          array (
            'name' => 'email1',
            'studio' => 'false',
            'label' => 'LBL_EMAIL',
          ),
        ),
        3 => 
        array (
          0 => 
          array (
            'name' => 'website',
            'type' => 'link',
            'label' => 'LBL_WEBSITE',
            'customCode' => '<input type="text" name="website" id="website" size="30" value="{$fields.website.value}"/> (http://www.vietcombank.com.vn)',
          ),
          1 => 
          array (
            'name' => 'phone_fax',
            'label' => 'LBL_FAX',
          ),
        ),
        4 => 
        array (
          0 => 'industry',
          1 => 
          array (
            'name' => 'loaikhachhang',
            'label' => 'LBL_ACCOUNT_TYPE',
          ),
        ),
        5 => 
        array (
          0 => 
          array (
            'name' => 'ngaymotaikhoan',
            'label' => 'LBL_NGAYMOTAIKHOAN',
            'displayParams' => 
            array (
              'showFormats' => true,
            ),
          ),
          1 => 
          array (
            'name' => 'vondieule',
            'label' => 'LBL_VONDIEULE',
          ),
        ),
        6 => 
        array (
          0 => '',
          1 => 
          array (
            'name' => 'doanhso',
            'label' => 'LBL_DOANHSO',
          ),
        ),
        7 => 
        array (
          0 => 
          array (
            'name' => 'sophongban',
            'label' => 'LBL_SOPHONGBAN',
          ),
          1 => 
          array (
            'name' => 'doe_day',
            'label' => 'LBL_NGAYTHANHLAP',
            'customCode' => '{html_options name="doe_day" id="doe_day" options=$fields.doe_day.options selected=$fields.doe_day.value} {html_options name="doe_month" id="doe_day" options=$fields.doe_month.options selected=$fields.doe_month.value} <input type="text" name="doe_year" id="doe_year" size="5" value="{$fields.doe_year.value}"/>  (dd/mm/yyyy) ',
          ),
        ),
        8 => 
        array (
          0 => 
          array (
            'name' => 'diemtichluy',
            'label' => 'LBL_DIEMTICHLUY',
          ),
          1 => 
          array (
            'name' => 'hinhthucgiaodich',
            'label' => 'LBL_HINHTHUCGIAODICH',
          ),
        ),
        9 => 
        array (
          0 => 
          array (
            'name' => 'cus_state',
            'label' => 'LBL_CUS_STATE',
          ),
          1 => 
          array (
            'name' => 'cus_city',
            'label' => 'LBL_CUS_CITY',
            'customCode'   => '<input type="text" class="tinhthanh" size="30"> <input type="text" name="cus_city" id="cus_city" style="display:none" />',
          ),
        ),
        10 => 
        array (
          0 => 
          array (
            'name' => 'acc_address',
            'label' => 'LBL_ACCOUNT_ADDRESS',
          ),
          1 => 
          array (
            'name' => 'address2',
            'label' => 'LBL_ADDRESS_2',
          ),
        ),
        11 => 
        array (
          0 => 
          array (
            'name' => 'description',
            'label' => 'LBL_DESCRIPTION',
            'displayParams' => 
            array (
              'cols' => 60,
              'rows' => 6,
            ),
          ),
        ),
      ),
      'LBL_PANEL_ADVANCED' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'uudaithanhtoannoidia',
            'label' => 'LBL_UUDAITHANHTOANNOIDIA',
            'customCode' => '<input type="checkbox" name="uudaithanhtoannoidia" id="uudaithanhtoannoidia" {$uudaithanhtoannoidia}/>  {html_options name="chedouudainoidia" id="chedouudainoidia" options=$fields.chedouudainoidia.options selected=$fields.chedouudainoidia.value}',
          ),
          1 => 
          array (
            'name' => 'uudaithanhtoanquocte',
            'label' => 'LBL_UUDAITHANHTOANQUOCTE',
            'customCode' => '<input type="checkbox" name="uudaithanhtoanquocte" id="uudaithanhtoanquocte" {$uudaithanhtoanquocte}/> {html_options name="chedouudaiquocte" id="chedouudaiquocte" options=$fields.chedouudaiquocte.options selected=$fields.chedouudaiquocte.value}',
          ),
        ),
        1 => 
        array (
          0 => 
          array (
            'name' => 'uudaichuyentien',
            'label' => 'LBL_UUDAICHUYENTIEN',
            'customCode' => '<input type="checkbox" name="uudaichuyentien" id="uudaichuyentien" {$uudaichuyentien}/>  {html_options name="chedouudaichuyentien" id="chedouudaichuyentien" options=$fields.chedouudaichuyentien.options selected=$fields.chedouudaichuyentien.value} ',
          ),
          1 => 
          array (
            'name' => 'uudaivaytien',
            'label' => 'LBL_UUDAIVAYIEN',
            'customCode' => '<input type="checkbox" name="uudaivaytien" id="uudaivaytien" {$uudaivaytien}/> {html_options name="chedouudaivaytien" id="chedouudaivaytien" options=$fields.chedouudaivaytien.options selected=$fields.chedouudaivaytien.value}',
          ),
        ),
        2 => 
        array (
          0 => 
          array (
            'name' => 'care_solution_des',
            'label' => 'LBL_CARE_SOLUTION_DES',
          ),
          1 => '',
        ),
      ),
      'lbl_editview_panel1' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'qualitative_info',
            'label' => 'LBL_QUALITATIVE_INFO',
            'displayParams' => 
            array (
              'cols' => 120,
              'rows' => 6,
            ),
          ),
        ),
      ),
      'LBL_PANEL_ASSIGNMENT' => 
      array (
        0 => 
        array (
          0 => 
          array (
            'name' => 'assigned_user_name',
            'label' => 'LBL_ASSIGNED_TO',
          ),
        ),
      ),
    ),
  ),
);
?>
